.class Llt/noframe/gpsfarmguide/control/LocaleChecker$2;
.super Ljava/lang/Object;
.source "LocaleChecker.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Llt/noframe/gpsfarmguide/control/LocaleChecker;->showLocaleNotTheSameDialog(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/control/LocaleChecker;

.field final synthetic val$context:Landroid/content/Context;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/control/LocaleChecker;Landroid/content/Context;)V
    .locals 0

    .line 60
    iput-object p1, p0, Llt/noframe/gpsfarmguide/control/LocaleChecker$2;->this$0:Llt/noframe/gpsfarmguide/control/LocaleChecker;

    iput-object p2, p0, Llt/noframe/gpsfarmguide/control/LocaleChecker$2;->val$context:Landroid/content/Context;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 1

    .line 62
    new-instance p1, Llt/noframe/gpsfarmguide/utils/SendEmailTranslations;

    invoke-direct {p1}, Llt/noframe/gpsfarmguide/utils/SendEmailTranslations;-><init>()V

    iget-object p2, p0, Llt/noframe/gpsfarmguide/control/LocaleChecker$2;->val$context:Landroid/content/Context;

    invoke-virtual {p1, p2}, Llt/noframe/gpsfarmguide/utils/SendEmailTranslations;->send(Landroid/content/Context;)V

    .line 63
    sget-object p1, Llt/noframe/gpsfarmguide/control/LocaleChecker;->APP_TRANSLATION_INVITE_DELIVERED:Llt/minvib/magicpreferences/MagicBooleanPreference;

    iget-object p2, p0, Llt/noframe/gpsfarmguide/control/LocaleChecker$2;->val$context:Landroid/content/Context;

    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    invoke-virtual {p1, p2, v0}, Llt/minvib/magicpreferences/MagicBooleanPreference;->set(Landroid/content/Context;Ljava/lang/Boolean;)V

    return-void
.end method
